package com.karry.yl.dao.services;

import com.karry.commons.base.SuperMapper;
import com.karry.yl.domain.services.Records;
import org.apache.ibatis.annotations.Update;


public interface RecordsMapper extends SuperMapper<Records> {

    @Update("update records set status = 1 where id = #{id}")
    void updateStatusTo1(Long id);

    @Update("update records set status = 0 where id = #{id}")
    void updateStatusTo0(Long id);
}
